ChannelProfileInputComponent

open class ChannelProfileInputComponent

This class creates and performs a view corresponding the channel profile input area in Sendbird UIKit. since 3.2.0

Constructors

Link copied to clipboard
open fun ChannelProfileInputComponent()

Types

Link copied to clipboard
open class Params
A collection of parameters, which can be applied to a default View.

Functions

Link copied to clipboard
open fun getRootView(): View
Returns the view created by onCreateView.
Link copied to clipboard
open fun notifyCoverImageChanged(@Nullable uri: Uri)
Draw cover image when the cover image selected.
Link copied to clipboard
protected open fun onClearButtonClicked(@NonNull view: View)
Called when the clear button related to the input is clicked.
Link copied to clipboard
open fun onCreateView(    @NonNull context: Context,     @NonNull inflater: LayoutInflater,     @NonNull parent: ViewGroup,     @Nullable args: Bundle): View
Called after the component was created to make views.
Link copied to clipboard
protected open fun onInputTextChanged(    @NonNull s: CharSequence,     start: Int,     before: Int,     count: Int)
Called when the input text is changed.
Link copied to clipboard
protected open fun onMediaSelectButtonClicked(@NonNull view: View)
Called when the clear button related to the input is clicked.
Link copied to clipboard
open fun setOnClearButtonClickListener(@Nullable clearButtonClickListener: View.OnClickListener)
Register a callback to be invoked when the clear button related to the input is clicked.
Link copied to clipboard
open fun setOnInputTextChangedListener(@Nullable textChangedListener: OnInputTextChangedListener)
Register a callback to be invoked when the input text is changed.
Link copied to clipboard
open fun setOnMediaSelectButtonClickListener(@Nullable onMediaSelectButtonClickListener: View.OnClickListener)
Register a callback to be invoked when the media selector is clicked.

Properties

Link copied to clipboard
val params: ChannelProfileInputComponent.Params